﻿<html>
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="Microsoft.Help.SelfBranded" content="true" />
    <meta name="Language" content="en-us" />
    <meta name="Microsoft.Help.Locale" content="en-us" />
    <meta name="Microsoft.Help.TopicLocale" content="en-us" />
    <link rel="shortcut icon" href="../icons/favicon.ico" />
    <link rel="stylesheet" type="text/css" href="../styles/branding.css" />
    <link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" />
    <script type="text/javascript" src="../scripts/branding.js"></script>
    <title>IniHelp Methods</title>
    <meta name="Title" content="IniHelp Methods" />
    <meta name="Microsoft.Help.Id" content="Methods.T:SosoMS.Common.FileHelp.IniHelp" />
    <meta name="Microsoft.Help.ContentType" content="Reference" />
    <meta name="System.Keywords" content="IniHelp class, methods" />
    <meta name="container" content="SosoMS.Common.FileHelp" />
    <meta name="file" content="d2b28d9a-84ab-a52e-ab0d-ce7f61fbc208" />
    <meta name="guid" content="d2b28d9a-84ab-a52e-ab0d-ce7f61fbc208" />
    <meta name="Microsoft.Help.Category" content="CSharp" />
    <meta name="Microsoft.Help.Category" content="ini" />
    <link type="text/css" rel="stylesheet" href="../styles/highlight.css" />
    <script type="text/javascript" src="../scripts/highlight.js"> </script>
    <link rel="stylesheet" type="text/css" href="../styles/branding-Help1.css" />
  </head>
  <body onload="SetDefaultLanguage('cs');">
    <input type="hidden" id="userDataCache" class="userDataStyle" />
    <div id="PageHeader" class="pageHeader">嗖嗖常用方法帮助集</div>
    <div class="pageBody">
      <div id="TopicContent" class="topicContent">
        <table class="titleTable">
          <tr>
            <td class="titleColumn">
              <h1>Ini<wbr />Help Methods</h1>
            </td>
          </tr>
        </table>
        <p>The <a href="1904b01d-e79f-ed43-8a41-7298709ef479.htm">IniHelp</a> type exposes the following members.</p>
        <div class="collapsibleAreaRegion">
          <span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('IDADA')" onkeypress="SectionExpandCollapse_CheckKey('IDADA', event)" tabindex="0">
            <img id="IDADAToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Methods</span>
        </div>
        <div id="IDADASection" class="collapsibleSection">
          <table id="MethodList" class="members">
            <tr>
              <th class="iconColumn"> </th>
              <th>Name</th>
              <th>Description</th>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
                <img src="../icons/CodeExample.png" alt="Code example" title="Code example" />
              </td>
              <td>
                <a href="1a220ef9-185a-e762-ce13-07614ee887ce.htm">AppendString</a>
              </td>
              <td>
            往指定节点追加字符串
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
                <img src="../icons/Static.gif" alt="Static member" title="Static member" />
              </td>
              <td>
                <a href="efe2979b-40ad-6bd3-3e31-e94fbd80a672.htm">ClearSection</a>
              </td>
              <td>
            清空指定节点下的内容
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="a7983220-dd18-70f0-d2d4-c3adce76edce.htm">DeleteAllKeys</a>
              </td>
              <td>
            删除节点下所有的键
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="16bb2f7f-96e7-14c6-70eb-8599a87922c5.htm">DeleteKey</a>
              </td>
              <td>
            删除指定节点下的键
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)" target="_blank" rel="noopener noreferrer">Equals</a>
              </td>
              <td>Determines whether the specified object is equal to the current object.<br />(Inherited from <a href="https://learn.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>)</td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
                <img src="../icons/Static.gif" alt="Static member" title="Static member" />
                <img src="../icons/CodeExample.png" alt="Code example" title="Code example" />
              </td>
              <td>
                <a href="f3cbfaaf-df70-338a-9d96-3be5b9d540dd.htm">GetAllItems</a>
              </td>
              <td>
            获取指定节点下所有的键值对组合
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="8f6a5fcf-a498-7d43-9d7c-e369464c9c86.htm">GetAllSectionName<span id="LST8A9C0169_0" data-languageSpecificText="cs=()|vb=|cpp=()|nu=()|fs=()"></span></a>
              </td>
              <td>
            获取所有的节点名称
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
                <img src="../icons/Static.gif" alt="Static member" title="Static member" />
              </td>
              <td>
                <a href="c2cedf74-62e6-9a87-adc4-157fda49faca.htm">GetAllSectionName(String)</a>
              </td>
              <td>
            获取ini文件中所有节点的名称，通过文件名
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode" target="_blank" rel="noopener noreferrer">GetHashCode</a>
              </td>
              <td>Serves as the default hash function.<br />(Inherited from <a href="https://learn.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>)</td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="94722171-5d34-8277-cc3b-cbe7e3b73662.htm">GetKeysForSection</a>
              </td>
              <td>
            获取当前节点下所有的键
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
                <img src="../icons/Static.gif" alt="Static member" title="Static member" />
              </td>
              <td>
                <a href="bc61d3d0-2f56-608a-4085-6787c3c5784c.htm">GetSectionKeys</a>
              </td>
              <td>
            获取当前节点下所有的键
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="https://learn.microsoft.com/dotnet/api/system.object.gettype#system-object-gettype" target="_blank" rel="noopener noreferrer">GetType</a>
              </td>
              <td>Gets the <a href="https://learn.microsoft.com/dotnet/api/system.type" target="_blank" rel="noopener noreferrer">Type</a> of the current instance.<br />(Inherited from <a href="https://learn.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>)</td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
                <img src="../icons/Static.gif" alt="Static member" title="Static member" />
                <img src="../icons/CodeExample.png" alt="Code example" title="Code example" />
              </td>
              <td>
                <a href="266f7935-9642-a247-e55e-75481d60275d.htm">GetValue</a>
              </td>
              <td>
            获取指定节点下指定键的值
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="00ce94eb-e654-c6e1-0a58-2357d9cc3f96.htm">IsKeyExist</a>
              </td>
              <td>
            判断当前节点下是否存在此键
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="00eed641-3ff2-cd6d-a084-9b11067f1020.htm">IsSectionExist</a>
              </td>
              <td>
            判断节点是否存在
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
                <img src="../icons/CodeExample.png" alt="Code example" title="Code example" />
              </td>
              <td>
                <a href="2003117b-b760-c6f0-cca7-b00382ec6a70.htm">ReadObject<span id="LST8A9C0169_1" data-languageSpecificText="cs=&lt;|vb=(Of |cpp=&lt;|fs=&lt;'|nu=("></span>T<span id="LST8A9C0169_2" data-languageSpecificText="cs=&gt;|vb=)|cpp=&gt;|fs=&gt;|nu=)"></span></a>
              </td>
              <td>
            从文件中读取一个对象，并实例化
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
                <img src="../icons/CodeExample.png" alt="Code example" title="Code example" />
              </td>
              <td>
                <a href="705a520a-7d69-f83f-950a-f7679ba264ea.htm">ReadString</a>
              </td>
              <td>
            获取指定的节点下的键值
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
                <img src="../icons/Static.gif" alt="Static member" title="Static member" />
              </td>
              <td>
                <a href="f7b4c9a7-e767-128a-e419-16e6e11fbb62.htm">RemoveKey</a>
              </td>
              <td>
            移除指定节点下的键
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
                <img src="../icons/Static.gif" alt="Static member" title="Static member" />
              </td>
              <td>
                <a href="f7c4248a-c391-6a3a-4d5f-b50ea4db33b8.htm">RemoveSection</a>
              </td>
              <td>
            移除指定的节点
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
                <img src="../icons/Static.gif" alt="Static member" title="Static member" />
                <img src="../icons/CodeExample.png" alt="Code example" title="Code example" />
              </td>
              <td>
                <a href="d6d9500d-97b9-e4e5-3f6a-c720af241dce.htm">SetItems</a>
              </td>
              <td>
            往指定的节点中写入键值对
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
                <img src="../icons/Static.gif" alt="Static member" title="Static member" />
                <img src="../icons/CodeExample.png" alt="Code example" title="Code example" />
              </td>
              <td>
                <a href="c970911e-fcbc-24ec-c947-489e723ede61.htm">SetValue</a>
              </td>
              <td>
            设置指定节点下指定键的值
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
              </td>
              <td>
                <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring#system-object-tostring" target="_blank" rel="noopener noreferrer">ToString</a>
              </td>
              <td>Returns a string that represents the current object.<br />(Inherited from <a href="https://learn.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>)</td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
                <img src="../icons/CodeExample.png" alt="Code example" title="Code example" />
              </td>
              <td>
                <a href="07134fff-8595-142c-9a7c-076d0141bc0c.htm">WriteObject<span id="LST8A9C0169_3" data-languageSpecificText="cs=&lt;|vb=(Of |cpp=&lt;|fs=&lt;'|nu=("></span>T<span id="LST8A9C0169_4" data-languageSpecificText="cs=&gt;|vb=)|cpp=&gt;|fs=&gt;|nu=)"></span></a>
              </td>
              <td>
            向指定节点中写入对象实例的json字符串
            </td>
            </tr>
            <tr>
              <td>
                <img src="../icons/pubMethod.gif" alt="Public method" title="Public method" />
                <img src="../icons/CodeExample.png" alt="Code example" title="Code example" />
              </td>
              <td>
                <a href="0ecbd18d-7a69-6917-d51b-a18415c8fb8e.htm">WriteString</a>
              </td>
              <td>
            往指定节点下写入键值
            </td>
            </tr>
          </table>
          <a href="#PageHeader">Top</a>
        </div>
        <div class="collapsibleAreaRegion">
          <span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('seeAlso')" onkeypress="SectionExpandCollapse_CheckKey('seeAlso', event)" tabindex="0">
            <img id="seeAlsoToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span>
        </div>
        <div id="seeAlsoSection" class="collapsibleSection">
          <h4>Reference</h4>
          <div>
            <a href="1904b01d-e79f-ed43-8a41-7298709ef479.htm">IniHelp Class</a>
          </div>
          <div>
            <a href="4f2fecb0-966c-232d-a819-c35018f8ad72.htm">SosoMS.Common.FileHelp Namespace</a>
          </div>
        </div>
      </div>
    </div>
    <div id="PageFooter" class="pageFooter" />
  </body>
</html>